package com.bmw.config.web;

import org.beetl.core.Configuration;
import org.beetl.core.Template;
import org.beetl.core.resource.StringTemplateResourceLoader;

/**
 * Created by Administrator on 2018/12/3.
 */
public class GroupTemplate {

    public static void text(){
//        StringTemplateResourceLoader resourceLoader = new StringTemplateResourceLoader();
//        Configuration cfg = Configuration.defaultConfiguration();
//        GroupTemplate gt = new GroupTemplate(resourceLoader, cfg);
//        Template t = gt.getTemplate("hello,${name}");
//        t.binding("name", "beetl");
//        String str = t.render();
//        System.out.println(str);
    }

}
